//
//  ActivationPonderation.m
//  Philippe
//
//  Created by Maximilien Servajean on 04/05/14.
//  Copyright (c) 2014 Maximilien Servajean. All rights reserved.
//

#import "ActivationPonderation.h"

@implementation ActivationPonderation

- (float) ponderationPourLigne:(NSInteger)line etTaille:(NSInteger)taille {
    if (taille-line<=2){
        return 3;
    } else if (taille - line <= 4){
        return 2;
    } else {
        return 1;
    }
}

@end
